// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "WorldEntity.h"
//#include "WorldEntityReferencing.h"

class FWorldEntityReferencing;

/**
 * An entity of Road or Junction for Predecessor / Successor linking.
 */
class FWorldConnectable : public FWorldEntity
{

public:

	using Ptr = std::shared_ptr<FWorldConnectable>;
	using Super = FWorldEntity;

	FWorldEntityProperty< std::string >	Name;

public:

	FWorldConnectable();
	FWorldConnectable(const json& j);
	~FWorldConnectable() override;

	void Resolve(FWorldEntityReferencing& referencing) override;

	WORLD_ENTITY_META_DECLARE(FWorldConnectable)

};
